package com.aiou.security.properties;

import lombok.Data;

import java.time.Duration;

/**
 * @author zyb
 */
@Data
public class OAuth2ClientProperties {

    private String clientId;

    private String clientSecret;

    private Duration accessTokenValidate = Duration.ofHours(2);

    private Duration refreshTokenValidity = Duration.ofDays(30);

    private String scopes = "all";


}
